package com.keensense.vcm.model.enums;

import javax.xml.bind.annotation.XmlEnumValue;

/**
 * @author lanjian
 * @date 2020/5/29 11:21 上午
 */
public enum OTypeEnum {

    @XmlEnumValue(value = "-1") ALL(-1, "不限"), @XmlEnumValue(value = "0") UNKNOWN(0, "未知"),
    @XmlEnumValue(value = "1") VEHICLE(1, "机动车"), @XmlEnumValue(value = "2") NON_VEHICLE(2, "非机动车"),
    @XmlEnumValue(value = "3") FACE(3, "人脸"), @XmlEnumValue(value = "4") BODY(4, "人体"),
    @XmlEnumValue(value = "5") RIDERS(5, "骑行人"), @XmlEnumValue(value = "6") OTHER(6, "其他");

    OTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    private int value;

    private String desc;

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
